package last;


import java.util.List;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.Scanner;

public class Main8 {
	public static List<Integer> list;
	public static void main(String[] args) {
	        Scanner sc = new Scanner(System.in);
	        Main8.list=Collections.synchronizedList(new ArrayList<Integer>());
	        String[] str=sc.nextLine().split(" ");
	        for (int i = 0; i < str.length; i++) {
				list.add(Integer.parseInt(str[i]));
			}
	        for (Integer e : Main8.list) {
				System.out.println(e);
			}
           /* synchronized (list) {
        	for (Iterator iterator = list.iterator(); iterator.hasNext();) {
				Integer integer = (Integer) iterator.next();
				System.out.println(list.get(0));
				list.remove(0);
			}
		}*/
	}
}